package cate.game.role.pvp.eliterace.msg;

import cate.game.GameBody;
import cate.game.client.ClientContext;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgInput;

import static cate.game.client.msg.id.MsgIdBEliteRace.BET_DATA_REQ;

@ClientMsg(title = "精英赛 竞猜数据 请求")
public class EliteRaceBetDataReq implements MsgInput {

    @Override
    public MsgConfig conf() {
        return BET_DATA_REQ;
    }

    @Override
    public void execute(GameBody game, ClientContext cc) {
        cc.getRole().getPvp().eliteRace.betPO.handleBetData();
    }
}
